package com.java3_1;

public class Productor extends Thread {
    private Clerk clerk;

    public Productor(Clerk product) {
        this.clerk = product;
    }

    @Override
    public void run() {
        while (true) {
            clerk.productAdd();
        }
    }
}
